Skip to content

fix: fix crash when change tab bar label during runtime#250

Merged
okwasniewski merged 3 commits intocallstack:mainfrom
owinter86:tabLabelFix
Jan 21, 2025
Merged

fix: fix crash when change tab bar label during runtime#250
okwasniewski merged 3 commits intocallstack:mainfrom
owinter86:tabLabelFix

Conversation

@owinter86
Copy link
Copy Markdown
Contributor

PR Description

This fixes the issue where android will crash when changing the tab bar label during run time crashes the app.

Fixes #248

How to test?

I have added a state change in the longPress event within the NativeBottomTabs example, this should change the first tab from "Article" to "CHANGED".

Copy link
Copy Markdown
Collaborator

@okwasniewski okwasniewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this! 🎉

@okwasniewski okwasniewski added this pull request to the merge queue Jan 21, 2025
Merged via the queue into callstack:main with commit 88d8531 Jan 21, 2025
@SumitR9910
Copy link
Copy Markdown

Thanks for the quick PR. Can confirm it works fine now.

@owinter86 owinter86 deleted the tabLabelFix branch January 24, 2025 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow changing tabBarLabel or title during runtime

3 participants